﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NextInventory.Model.Purchase;

namespace NextInventory.Business.EntityRepositories
{
    public interface IPurchaseRepository : IBaseRepository
    {

        #region Purchase

        PurchaseModel GetPurchaseByID(int Id);
        List<PurchaseModel> GetPurchase();
        List<PurchaseModel> GetPurchaseByModelID(int Id);

        bool AddPurchase(PurchaseModel model);
        bool UpdatePurchase(PurchaseModel model);
        bool DeletePurchase(int Id);

        #endregion Purchase

    }
    class PurchaseRepository : BaseRepository , IPurchaseRepository
    {

        #region Purchase

        public PurchaseModel GetPurchaseByID(int Id)
        {
            throw new NotImplementedException();
        }

        public List<PurchaseModel> GetPurchase()
        {
            throw new NotImplementedException();
        }

        public List<PurchaseModel> GetPurchaseByModelID(int Id)
        {
            throw new NotImplementedException();
        }

        public bool AddPurchase(PurchaseModel model)
        {
            throw new NotImplementedException();
        }

        public bool UpdatePurchase(PurchaseModel model)
        {
            throw new NotImplementedException();
        }

        public bool DeletePurchase(int Id)
        {
            throw new NotImplementedException();
        }


        #endregion Purchase

    }
}
